<template>
	<view class="query-custom-head">
		<view class="mod-custom-bar">
			<view class="custom-black">
				<text class="cuIcon-back"></text><text>返回</text>
			</view>
			<view class="custom-content">
				<text>采购申请</text>
			</view>
		</view>
		<view class="cu-bar bg-white search fixed" :style="[{top:CustomBar + 'rpx'}]">
			<view class="search-form round">
				<text class="cuIcon-search"></text>
				<input type="text" placeholder="搜索" v-model="searchVal" confirm-type="search" @input="search"></input>
			</view>
		</view>
		<view class="">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				CustomBar:76,
				searchVal:""
			};
		},
		methods:{
			search(){
			  console.log(this.searchVal)	
			}
		}
	}
</script>

<style lang="scss">
	.mod-custom-bar{
		display: flex;
		flex-direction:row;
		justify-content: center;
		color: #fff;
	    line-height: 76rpx;
		position: relative;
	background:linear-gradient(135deg,rgba(50,157,247,1) 0%,rgba(64,122,224,1) 100%);
        .custom-black{
			// flex: 0 1 auto;
			color: #fff;
			position: absolute;
			height: 76rpx;
			left: 0;
			top: 0;
			width: 160rpx;
			z-index: 10;
		}
	    .custom-content{
			flex: 1;
			color: #fff;
			text-align: center;
		}
	}
.bar-mod{
	height: 76rpx!important;
}
</style>
